change match to get in routes