Logout from main.html