Allow user to share by username

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Merge pull request #207 from muslimgiga/issue-192

Allow queries to be shared by email and/or username(case optional)