getting status from server