Added user resource to client.
Added login to API.