Added Logout, Main View

'Main' view with logout button added. Set textfield focus on view load
for login/register views.