changes to profile page and controller