remove unwanted routes and add the one needed to declined for get request