Adding error messages, templates and a little error handling