Added submissions toggling via DB

There's probably a better way to do this, but for now this should do