Replaced ruby1.8 hash syntax with ruby1.9 hash syntax in user.rb