added history and profile