Implements the user index, with pagination, and profile editing.