Made search function case insensitively and check for email/username in ...

...addition to name