Log in a user via the API

ah ok @wasimkham sure will do