added controllers and main routes. Still need routes for login and main pages.