If it is fit to be eaten as bread
Brocho before eating this: Hamotzi Lechem Min Ha'aretz
Brocho after eating the proper shiur of this: Bentching
If it is fit to be eaten as cake
Brocho before eating this: Borei Minei Mezonos
Brocho after eating the proper shiur of this: Al Hamichya
If one is Koveah Seduah on this item, Hamotzi Lechem Min Ha'aretz and Bentching are required.
Source: The Laws of B'rachos (page 378)