As a user I want to be able to login through the API