fixes #35 by checking that submitted questions exist in db.