added pagination to user history and reorganized code, API endpoints at bottom
added pagination to user history and reorganized code, API endpoints at bottom

tydonk/fight_simulator,tydonk/fight_simulator,tydonk/fight_simulator