Fixed the retrieving of environments
Fixed basic searching for user, group, and view