added pagination to league index.html.erb