Added pagination and config page