Implemented /user/register
login failure renders error but status 200