Add user_id column to diaries table, and define abilities for Diary.