moved user management over to database