add db environment and add user model