created the diary model and configured the diary and user association