Change type of sessionId to integer