Changes for event attendance

Checking if someone should be able to attend event.
Added code to see if user is member of a team
Amended test sql database
Amended class on events
Added new tests for events and teams