update DBConnect
remove readconfig()
simple login, logout, register