refactoring routes
fixing problem with the model (it was using int instead of number)