Update server

Add correct HTTP response
Better log messages