changing url structure for image on reg & login pages