Fixed the previous commit to return the userid