Added booked and userID to the event table to check if events are booked and to whom they are booked. Added some if statements to check if the user is the owner.