Added the ability to register a user from the app.