changed the tests and made it so the controller gets the teams and event...

...s and the like from the database while the frontend goes through it and modified tests