Added a capacity for an event and do not allow registrations when the limit has been reached