replaced localforage with pouchdb. added tests in home controller.