move url to views