Update user.md

Fixed spelling error on event function