Changed registration so it works
Added the membership database