user linking and user login