synchronized

Synchronized added to server methods as advised.