added ngStorage to help manage localStorage
worked on ng-switch for editing user profile