set up user auth system
migrated users to database