changed devise views
added account settings link
cleaned up code