Added autoLogin param to Register snippet