Implementing a login request to a web service