Change current_user to @user in the edit password part of the users#update to make sign in method in update after password change work