updated routes for remote site communication
fixed before auth filter and image routes