logging in and out complete