added filter condition to get users api