not found handled as function (possibility for writing custom not found functionality), getting parameters from route to page