Add reset password and remember me functions