Added ability to authenticate with username

- Before this one could only authenticate with its email address and
  password, now they can use email or username