Added registration of user