Simplify application.rb, turn off IP spoofing check