added resources for password to routes.rb file