Updated Diary app with REST-api