Added reset password form, and autologin