Log in and Log out adjustments