Add registration form functionality