better code for username in header