changed memberModel as per sid's recommendation

using userid instead of username