Fixed rate button problems. Added register JSF. Added template layout.