posted info to db instead of get