don't specify specific database settings
readd database prefix
refactor/clean up helper functions
fix bug with email validation