update to load db and user info from env