Added messages to fb. Added base template.