Guest book with classes and sql