Add type to Question
refactor login method
Update: ruby 2.1.3=>2.1.4 rails 4.1.6=>4.1.7