Tidy up your code drastically by binding models to routes and automatically fetching a model by it's primary key when you access a URI like /users/1.