added test 'should render the new page when logged in