separated handler into multiple url handlers