added loginUI,
 onclick login button opens the webcam frame
removed unused imports
followed OOP standards