Fixed bug. Now server is complete