added test page with form that inserts a journal into a db & bugfixes