Added api/user/register endpoint to create accounts