Finished basic registration backend