updated models, added email capabilites, homepage logic