login-sample using friend