moved success/error message to template
removed swp file