I got it,Thank you anyways :),well actually i was using the inbuilt login control of asp.net C# so i had to create roles to make it work in 2 different scenarios the user and admin.I placed a linkbutton and made it visible only at admins login to redirect him to admin page.
protected void Page_Load(object sender, EventArgs e)
{
if (User.IsInRole("admin"))
{
LinkButton3.Visible = true;
}
else
{
LinkButton3.Visible = false;
}
}