Added pagination and changed to use partial views.