Basic account functionality complete

Also refactored some code and added some helper functions
Merge branch 'master' of https://github.com/ConnorHolyday/SellMyGadgets