Lincoln man who allegedly impersonated a student appears in court