routes need a method of get or post