random login sleep removed, db class to include webserver var