Code

Added new class which separately handles the registration dialogs