add diary veiw and html template