API tweaks to make login API work
- version the api
- registration works
- login works