Some logic for admin authd
Further admin auth logic