added more error handling
added function for automatic insert for enddate
added some content
added some content
added some translations