Added accept and decline functionality