fix the userid login issue