Moved registration backend to a different file