added a simple backend for registering emails.