Updated the GUI to add database connection and login funtionality