made get generic - supports both email and user_id