Fixed Log in and Log out!