Changed profile to use nav controller. Set navigationBar attributes