Edit method
Add edit link to settings
Create edit form
Fix typo from edith to edit_user_path
Add integration test for unsuccessful edit
Add integration test for successful edit
Create method update
Fix typo: from assert_redirect_to to assert_redirected_to, in successful edit
Allow password blank to allow update user without retyping password
Create logged_in_user method to ensure a user is logged in before attempting to edit profile
Log in user before trying to edit
Add setup, and tests: should redirect edit when not logged in and should redirect update when not logged in
Add a second user to be able to test if a user tries to update another user's profile
Test to verify that a user cannot update other user's profile
Add method correct_user to allow a user updating another user's profile
Add method current_user? to be used in correct_user method in UsersController
Update successful edit to include friendly forwarding
Add methods redirect_back_or and store_location to redirect a user to his intended location after login
redirect_back_or(user) after create session
store_location when logged_in_user