Add test for creating posts when not logged in