protection method when sending a post while we're unauthorizedand set encoding UTF-8