Fix login bug (username was not being read)