Installed a password hashing module (password-hash)
Added password hashing and a register user api call (/user/register).

Changed login from api/login to /user/login for consistency