New windows added, login function added, database class update