Added session token generation