add 'devise' gem
rails generate devise:install
development, test enviroment - set config.action_mailer.default_url_options
add flash partial - render alert, notice
rails generate devise:views - after that convert to haml
rails generate devise User
create users table
rails generate controller Dashboard index
set root route to dashboard#index
redirect to sign_in page if user is not authenticate
Merge pull request #3 from Qsmir/devise

Devise