Creates authorization for posts