Fixed updatePassword for when user forgotPassword
updatePassword loop finished for logged in user + redirect for non-logged in user