removed user from factory query conditions