wilson changes for after login problem