added auth module identifier and handle logout only if session is authorized by dom login