Fix a bunch of pagination and user bugs.