added possibility to specifiy url instead of route