Added logged_in helper and made use of it throughout site.