Added registration with csv and database