Added code for loading and saving database files for user status and product db