close #11 now write a new post is only for registered users