use get instead of match for routes