ajax to remove authors and user athentication