Added register and altered view to blade