Dual sign-on between two sites

I want a dual sign on with my two websites. When users signup at my main site (Preach1.com) they will automatically get a sign-on to Elgg site, The two sites uses the same database and Elgg is in the same directory as preach1.