checking the server side