Created two AppDelegate helper functions to handler presenting main and login views.
Removed rootViewController variable from AppDelegate and implemented new helper functions.
Utilized AppDelegate elper functions on login and signup and logout.