added new feature to get_users and enabled environment variables