Fixing view and setting up urls