practice app for db optimization and twitter bootstrap pagination