got initial POST to database working