modularizing username key