             value      : required
             ttl        : required
             cb         : required
+        if not @_validate_uuids(opts) then return
         @table('remember_me').insert(id:opts.hash, value:opts.value, expires:expire_time(opts.ttl), account_id:opts.account_id).run(opts.cb)
 
     # Invalidate all outstanding remember me cookies for the given account by

        opts = defaults opts,
            project_id  : required
            cb          : required  # cb(err, is_public)

    # cb(err, true if user is in one of the groups)
    user_is_in_project_group: (opts) =>

            use_cache    : true
            cache_time_s : 60*60        # one hour
            cb           : required     # cb(err, map from account_id to object (user name))
        if not @_validate_uuids(opts) then return
        user_names = {}
        for account_id in opts.account_ids
            user_names[account_id] = false
