Fix initialisation of constant TITLE

Update auth_check functions