login working for most pages (add the directive to the page)