added validation to prevent url hack for quotes view and jobs view