Fixing some warnings.

Initial work to add reset password functionality.