updated application.rb for staging env