Begin flags on login