Login screen has new buttons, general code fix.

Implemented new database, remove database and cancel buttons in database
selection screen.
Implemented reset in Login screen.
Fixed and tidied the code in GUI and implemented necessary action
listener for the add, remove database and cancel buttons in Database
selection