Squashed commit of the following:

- Fixed /login service and createuser
- Initial createuser and /login code