Added controller for navigation