Refacotr rspecs with authenticated user and dynamic sequences