Login: created an LoginFactory to open Modal Login dialog from every Con...

...troller, Homepage: login/out button always visible, Register button dissapears when logged in, Documentpage: Sign in button opens Modal Dialog, Register page: layout changes