instead of that code, you can to reuse all steps defined,  for example  steps %{Given I am logged in}