moved redirect   from handlers to router
Merge pull request #35 from Iuckyman/(33)Add-time-range-filter-for-units-(webservice)

moved redirect   from handlers to router