changed userID in session to int from string