Changed for a development setup.
Changed email check to look against users.

Before, it checked against codes, rendering it useless.
Untested removal of logging

Logging to be revamped soon.
Added registration code generation script with a utils directory.