Try to fix connection problem
Added some security to the server