Updated routing to default controller if no url is specified and to error if invalid url is specified