added add url function to the server