converted login UI controller to navigation controller and added registration page