Moved createUser to its own route, and added the method to the authProvider