-- adding delete function for posts