Change views to work with the registration logic