SPACHAT - PHP Ajax Chat - Base and SQL Schema