added dynamic login bdd and env handling