Add ensure_signed_in method for create posts action