First web service method created, for authorizing the user.