finished new registration logic and markup