updated routes and validations