Made the drop down thingy work
Fixed database crap