Switched database names and added multiple features

Switched database names from competition to event to be able to add
different types of events, also add the login screen as part of the home
page, put the competition id in the url and added a training section