changes to profile controller, show and layout