Fixed a bug that was causing the Username not to get saved.