import the whole flask module
model for config
edit configuration
use admin_email value from config table
restrict interval for self-registration