Added checking for session key validity by service request.