add some friend user login code.