Reset password

Implemented the password reset functionality. Resolves #22.
if you have more than one error this will set the flash to just the last one, right?