improve code style

replace hashrocket with colon
replace if-elsif-else with case
replace user authtications dependent
update code style for User.find_or_create_from_oauth
update naming in login spec test
move requires in devise.rb into begin of file