log in and sign out resolved