protected void Page_Load(object sender, EventArgs e)
        {
            HttpCookie cookie = Request.Cookies["DiscussionForum"];

            if (cookie != null)
            {
                token = cookie["token"].ToString();
            }
            else
            {
                Response.Redirect("/Index.aspx");
            }
            Id = Int32.Parse(Request.QueryString["Id"]);
            ServiceReference.DiscussionForumServiceClient client = new ServiceReference.DiscussionForumServiceClient();
            try
            {
                topicPage = client.getTopicPage(Id);
                if (topicPage == null)
                {
                    Response.Redirect("/Error.aspx");
                }
                Label3.Text = "Title: " + topicPage.Name;
                Label4.Text = "Description: " + topicPage.Discussion;
                Label5.Text = "By: " + topicPage.Author;
            }
            catch (Exception ex)
            {
                Response.Write(ex.Message);
            }
        }