Define http methods in router class