Updating controllers and views to render profile pages correctly. Work in progress