one API key can have multiple sessions
Fixed getvalidsession error