finish logging in