devise stuck

#error1 when running  "rspec spec/features/user_can_sign_in_with_devise_spec.rb"
Failure/Error: visit root_path
     ActionView::Template::Error:
       undefined method `name' for nil:NilClass

# error2 when submitting the form
Password confirmation doesn't match Password

what is going on: I had user models and controllers before I installed devise, I dropped the table and re-did it, but some issues remaining, probably with strong params