Added multiple interfaces for mainUI and added basic login functionality