adds user page pagination and generally cleans up the user page rendering method
License changed to AGPL