prod db helper
[MIGRATE] usernames and emails are case insensitive
accept username or email when logging in