getting history and users