removed database connection out global.php
change string to boolean of user type
user list updated with new fields of user