implemented registration view