Finishing up the user ID detection method