action listener and reorganization

Action listeners added to register and profile. Register and Profile GUI
reorganized.