Fixed error logging
Change date references to DDMMYYYY
Fix period updateData response handling
Fix saving availability to db