Adding registration page code