fixing the userid issue