Added functions for accept and reject in admin home page.