Changed from die to redirect to login page if user not logged in if trying to use any parts of the c_posts controller