adding getter for path in Request class