made username directive less wordy to use