added check for filds Login and Password