change url and views to use generic view