First program on C# for logging when user login into the system and logout