Fixed bug with 'create post' button after logout