protected int createNewAuthor(int user_id)
    {
        int new_author_id = 0;

        qLrn_Author author = new qLrn_Author();

        author.ScopeID = 1;
        author.Created = DateTime.Now;
        author.CreatedBy = user_id;
        author.LastModified = DateTime.Now;
        author.LastModifiedBy = user_id;
        author.Available = "Yes";
        author.MarkAsDelete = 0;
        author.AuthorName = txtName.Text;
        author.Available = rblAvailable.SelectedValue;
        author.Insert();
        new_author_id = author.AuthorID;

        return new_author_id;
    }