changes on sql username omitted

instead of using username, use email