Added an index for secret
Changed the draw on end on 0, change err to er (avoid projects)
added the joinGame function to join games
Changed to using ID to get all data straight from the database
Changed the err to er to avoid conflicts, modified what is send to the client