Fix crash for trying to get nil user