When traveling on a tourist visa, you can stay at your friend's place as well as at a hotel. In case of your staying with your friends you should register your visa with your visa sponsor.