I check if user is logged in and if he is not then I throw an HTTP 401 error
I now set the $_SESSION[ "create_post" ] key