Fixed bug that username would always be lowercase