Updated main controller for our own implementation of LoginListener,
LoginEvent, and set up a basic verification for connection to the
database. Shows a pop up if the attempted user login was invalid.