You can reset the password using the Recovery Drive.
If the user account is associated with an Apple ID, and you know that account password, the Apple ID can be used to reset your user account password.
Otherwise, boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
When the OS X Utilities screen appears, select Utilities ▹ Terminal from the menu bar.
In the Terminal window, type this:
resetpassword
That's one word with no spaces. Then press return. A Reset Password window opens.
- Select your boot volume if not already selected.
- Select your username from the menu labeled Select the user account if not already selected.
- Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
- Select ▹ Restart from the menu bar.
You should now be able to log in with the new password, but you won't be able to unlock the Keychain. If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it. You’ll need to reset your keychain in the preferences of the Keychain Access application.
Moving your data over from Time Machine.
If you can see the Backups.backupdb folder on your Time Capsule, you can drill down to find your User's folder. Drag contents of Desktop, Documents, Movies, Music, Pictures to the correct folders on your Mac. You can drag over many apps but some like Adobe and Microsoft will need installers. It's best to try starting with a clean User's Library since this is where most problems are located. Some folders in User's Library/Application Support can be brought over like Chrome, Firefox with browser files.
If you can't see the Backups.backupdb folder, then see these links
How to selectively migrate files from Time Machine:
How to Move Your User Data to a New Mac without Time Machine