routes set up, saving to db