added db lookup for account