only logged user can create posts, creating valid posts