Added class Db to connect to database, new learner dialog and login dialog.