Added registration post execute

Implemented an async task RegistrationTask that handles the registration
process. After registering, the user will now be correctly added to the
db.