Added method to contact server