Bux fixing, added prefix 'api' to urls because it clashed with search pages