Keeping the post secured for delete/ Update operation.
Creating class for sending message using wordpress functionality