Fixed login in finding employees and managers, and used the filter in the employees index action