fixed ajax for pending users

meh