seperated joining table and joining game - refractored api logic