Functionality to convert ua into url and convert it back to ua.