finished servlet checking login availability