Incorrect Login Dialog and Logout Buttton