Added accept and decline functionality for invite