finish diary controller