Fixed the angular resource and added user controller actions for user-profile