integerate logon from theme to layout