handle login request

handle login request