Hi mohan,
Your problem related to login concept in asp.net, So check this useful link based on login concept and how to manage the session and logout concept:
http://mindstick.com/Articles/c389febe-fceb-4cb9-a4d1-41259346f449/?Login%20Form%20in%20ASP.Net