Add sign in/out feature

Add sign in/out feature. (Chapter 8 in Ruby on Rails Tutorial)