Added other controllers and implemented login and logout