Added more rigorous loggins and changed server request to an asynchronous one