modify registration controller