added get diary functionality