EmirH: tested some screen sizes and added ability to send data to server