Register clients successfully and persist them to the backend database
Update a few response codes to show clear intentions about response
Clean up a few code blocks