added profile controller
updated the profile page and added scoped update to it