more logs and Server class bugfix