In their efforts to vet applicants, some companies and government agencies are going beyond merely glancing at a person's social networking profiles and instead asking to log in as the user to have a look around. Questions have been raised about the legality of the practice, which is also the focus of proposed legislation in two states.