Add user accept function