Some validationz
Oooh, actually saving stuff to the DB!