Abstraction to login & rem-header directives