remove duplicate setting of userid..only done in authenticate method