redirect if required variables were not passed in the url