added cas user info as a param and converted id info to integer