better standalone server login class