remove useless code and add correct routes to mobile api