Add jQuery Masonry and Fix logged in templating