ensure username is never blank
using only relative imports