True about immune response of hepatitis B is:
Hepatitis B virus natural infection induces lifelong immunity.
The immunity is primarily mediated by humoral antibodies against HBsAg. Antibodies to HBsAg are protective. 
These antibodies bind to surface antigens or with the virus and prevent it from interacting with receptors on the hepatocytes.
These antibodies appear to neutralize the infectivity of HBV.

​Parija SC. Textbook of Microbiology & Immunology. Elsevier Health Sciences; 2014. Page:552
Antibody of HBsAg is associated with resistance to infection
Antibody to HBc is not protective
Highest titres of anti-HBc are found in persistent carriers of HBsAg
CMI disappears soon after recover