Parsing userId to long added

userId come as a String and parsing it as it is invoke a different method. This PR fix that issue