added simplecov to rspec tests
added authorization to event_templates
added buttons to save a template from event