update logs, settings module, template , update emergency access

update logs, settings module, template , update emergency access