Refactored receive to accounts; fixed contact deletion