added correct redirect after finishing a diary entry