db changes for user management