security for creating new posts