removed raise in permit.rb. edited configs for server.