issues with improper pointers should be fixed now
grocery based data now accessible from database. finally...