Purpose of User Identity Check - C#