supplying register url to view