loading the main userid properly