Added nicer formatting and gem for pagination