checks if user has earned any achievements after taking quiz and updates everything properly