Updated Configurations

Updated connection configurations and updated admincheck function