added ability to add post,update,delete,patch routes