dispose of the registrationframe as well
added a high level diagram of the system