adding login_mech in smartloginlibrary