minor changes for pagination and added user for amazon use