Initial Code with regisration form