changed login credentials problem

changed $_ENV to $_SERVER