defined update function for user controller
modified styles and added form action in profile modal
return json array in update function in user controller
defined js-messages div
defined save_profile click function