Refactoring the page to use Sintra's helpers and also Active Records scoping features.