Implement functions for working with url