xml based login & register for php and sample slam book code written in php