generated controller for profile page