Issue #89 Can use either email or username to log in