added case insensitive queries for usernames, teamnames & emails