Connected route queries to the model