Implemented ajax for accept/reject/pending on administration page