#15868648907092: Added user roles to states
fixed errors in konnection.js