Add hook to deny access to new posts page when not logged in