Fixed _history

added if clause to history to review if the user exists before printing,
this should fix examinados page for old users