Add actions to contacts/index.html page
fix tests
Use raw instead of html_safe