fixed store problems and started on purchase connection
merge