refactored login and signup workflow. Added ability to reset password and added user visible error messages on login/signup errors