commit transaction
implemented order, getting orders using database