making urls and creating views