solved bugs on active login and filtering roles and users