add single login support for multisite (db)