implemented registration page