add version to enums, improve auth login/logout workflow