hidded the new post when user is not logged in