wrapped fail statments in parens and ensured that we fail if username is not set