make widget accept usernames or emails (LMS-1438)