Changed login API method from getUsers to getUser in order to simplify user handling