sending user handle to server and logging in