updated connection, database and login file