return page not found for new resource view when user is not logged in.