rails generate devise users
rake db:migrate
added before_filter :authenticate_user!
added document