Rewrote account system to use JSON for saving and loading