remove redundant file
restrict the scope of error handling in ApplicationController
extend spec coverage for spam prevention