adding login from yaml file