I added the 2 line code for calling another function in another class. Its activaqted in the create new registration button