set routing in GET request and cleanup code