converted the membership service to user nhibernate.