If you are using minilogin, the name and password make NO difference. Your authentication is by your IP ADDRESS ONLY.
Your friend has to have a UNIQUE IP ADDRESS to get another account and it has to be SETUP in the ACCOUNTS TABLE BEFORE he tries to login. Also, unless you are using something like Hamachi, it's not going to work for you unless he is ON YOUR LOCAL LAN, in other words, in your house connected to your system directly.
If you want him to be able to connect to you from his house, get something like Hamachi
www.hamachi.cc .