User login / logout(Ruby on Rails sample app)