implemented inline editing, authorisation, templates