ticket:5 Write working implementation of saving data. Also cut some not needed test.
ticket:5 Write authentication in templates.