changed if in sslredirect to return next if on ssl